﻿using OSharp.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace HFast.Contrast.Contrast.Entities
{
    /// <summary>
    /// 对比产品表
    /// </summary>
    [Description("对比产品表")]
    public class ContrastProduct : EntityBase<int>, ICreatedTime
    {
        /// <summary>
        /// 主题ID
        /// </summary>
        [Required, DisplayName("主题ID")]
        public int SubjectID { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [StringLength(200)]
        [DisplayName("名称")]
        public string FullName { get; set; }

        /// <summary>
        /// 简称
        /// </summary>
        [StringLength(200)]
        [DisplayName("简称")]
        public string ShortName { get; set; }

        /// <summary>
        /// 扩展名称
        /// </summary>
        [StringLength(200)]
        [DisplayName("扩展名称")]
        public string EnName { get; set; }

        /// <summary>
        /// 标签， xxx bbb ccc
        /// </summary>
        [StringLength(200)]
        [DisplayName("标签")]
        public string Tag { get; set; }

        /// <summary>
        /// 说明
        /// </summary>
        [DisplayName("说明")]
        public string Content { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreatedTime { get; set; }
    }
}
